package StructuralPattern.Bridge;

public abstract class Image {
    protected ImageImp imageImp;

    // 注入实现类接口对象
    public void setImageImp(ImageImp imageImp) {
        this.imageImp = imageImp;
    }

    public abstract void parseFile(String filename);
}
